<?php

add_css('styles/reset-my-password');
add_css('validationEngine.jquery');
add_js('plugins/validations/languages/jquery.validationEngine-pt_BR', 'footer', 8);
add_js('plugins/validations/jquery.validationEngine');
add_js('plugins/jquery.mask');
add_js('scripts/reset-my-password', 'footer', 12);
if ($message = $this->session->flashdata('error_login')) {

    echo '<div class="display-message-login label label-danger">';
    echo $message;
    echo '</div>';
}


echo '<div class="box-form-login">';


echo form_open(BASE_URL_USER . '/new-reset-password/', 'id="userFormLogin"');
echo add_image('logo-footer.png', 'class="logo-form-reset-password"');

echo '<div class="form-group">';
echo form_label('CPF/CNPJ');
echo form_input('cpf_cnpj', '', 'class="form-control validate[required]" placeholder="Digite o numero"');
echo '</div>';
echo '<div class="form-group">';
echo form_label('Email');
echo form_input('email', '', 'class="form-control validate[required[custom[email]]]" autocomplete="off" placeholder="Digite a senha" ');
echo '</div>';
echo '<div class="form-group">';
echo form_submit('', 'Enviar', 'class="btn btn-primary"');
echo anchor(BASE_URL_USER.'/login', 'Cancelar', 'style="margin-left:10px;" class="btn btn-danger"');
echo '</div>';
echo form_close();
echo '</div>';
?>
